package com.bdzl.biz.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bdzl.biz.dao.OrderMailDao;
import com.bdzl.pub.entity.loan.OrderMailDO;
import com.bdzl.biz.service.OrderMailService;



@Service
public class OrderMailServiceImpl implements OrderMailService {
	@Autowired
	private OrderMailDao orderMailDao;

	@Override
	public OrderMailDO get(Integer mailId){
		return orderMailDao.get(mailId);
	}

	@Override
	public List<OrderMailDO> list(Map<String, Object> map){
		return orderMailDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return orderMailDao.count(map);
	}

	@Override
	public int save(OrderMailDO orderMail){
		return orderMailDao.save(orderMail);
	}

	@Override
	public int update(OrderMailDO orderMail){
		return orderMailDao.update(orderMail);
	}

	@Override
	public int remove(Integer mailId){
		return orderMailDao.remove(mailId);
	}

	@Override
	public int batchRemove(Integer[] mailIds){
		return orderMailDao.batchRemove(mailIds);
	}

	@Override
	public OrderMailDO getByMailOdr(String mailOdr) {
		return orderMailDao.getByMailOdr(mailOdr);
	}

}
